<?php

// This is the database connection configuration.
return array(
//	'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
	// uncomment the following lines to use a MySQL database

	'connectionString' => 'mysql:host=localhost;dbname=shop',
	'emulatePrepare' => true,
	'username' => 'root',
	'password' => '123',
	'charset' => 'utf8',

	//显示每个sql语句与运行的时间
	'enableProfiling'=>true,

	//把数据表前缀设置好
	'tablePrefix'=>'sw_',
	//在页面底部显示sql语句绑定的参数信息
	'enableParamLogging'=>'true',
);